package com.burgeon.backend.SHOP.mappers;

import com.burgeon.backend.SHOP.entity.*;
import com.burgeon.backend.SHOP.entity.couponGift.CouponGiftItem;

import java.util.List;


public interface PlusActiveMapper {
    PlusActiveConfiguration findInfo(String token);

    PlusApplyRecord findState(String token, String uid);

    List<CouponGiftItem> findCouponGift(Integer thresholdCouponGiftId);

    CouponType findCoupType(String couponId);

    List<String> findGoodIds(String token);

    List<Goods> findGoodInfo(String goodsId);

    Integer insetPlusRecord(PlusApplyRecord plusApplyRecord);

    void upState(String outTradeNo, String token);

    String findUid(String outTradeNo);

    void upEndDate(String outTradeNo, String token, String endDate);

    void addPlusSendRecord(PlusSendRecord plusSendRecord);

    PlusSendRecord findSendRecord(String uid, String token);

    List<PlusApplyRecord> findOpenDate(String token);

    String findOpenId(String uid,String token);

    String findDueRemind(String token);

    String findUserIsPlus(String token, String uid);

    String findUserPlusEnd(String token, String uid);

    String findExpiryDays(String token, String openid);

    /*PlusApplyRecord findOperation(String token, String uid);*/

    /*void upPlusDate(String uid, String token);*/
}
